﻿<%@ Page Title="" Language="C#" MasterPageFile="~/NestedMasterAdmin.master" AutoEventWireup="true" CodeBehind="LogOverview.aspx.cs" Inherits="UI.LogOverview" %>
<asp:Content ID="LogOverview" ContentPlaceHolderID="pageItem" runat="server">
    <div class="centerPanel">
        <asp:Label ID="lblLogTitle" runat="server" class="titleLabels">Log Overview</asp:Label>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3" DataSourceID="Logs" GridLines="Vertical" 
            AllowPaging="True" Width="100%">
            <AlternatingRowStyle BackColor="#DCDCDC" />
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
                <asp:BoundField DataField="User" HeaderText="User" SortExpression="User" />
                <asp:BoundField DataField="Time" HeaderText="Time" SortExpression="Time" />
                <asp:BoundField DataField="Event" HeaderText="Event" SortExpression="Event" />
                <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
        
        <asp:ObjectDataSource ID="Logs" runat="server" SelectMethod="GetAll" 
            TypeName="BLL.LogWorker"></asp:ObjectDataSource>
        
    </div>
</asp:Content>
